import {request} from "./requestConfig.js"


export function getMenu(){
    return request({
        url:"/menu",
    })
}

export function getSecondMenu(MainMenuId){
    return request({
        url:"/submenu?main_menu_id="+MainMenuId,
    })
}


export function getFindGoods(){
    return request({
        url:"/goods/find",
    })
}

export function getKindGoods(kindId, page){
    return request({
        url:"/goods/kinds/" +kindId+"/"+page,
    })
}